package com.ly.mp.busicen.rule.field.validator;

/**
 * 校验基本接口
 * @author ly-liuweisong
 *
 * @param <T>
 */
public interface IValidator<T,V> {
	
	boolean valid(T validData,V validation);
	
	ValidMsg errorMsg(V validation);
	
}
